package com.skyon.genius.auth.security;

import org.junit.Assert;
import org.junit.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

public class PasswordTool {
	PasswordEncoder passwordEncoder = new BCryptPasswordEncoder();

	@Test
	public void test() {
		String secpwd = passwordEncoder.encode("123");
		System.out.println(secpwd);
		Assert.assertNotNull(secpwd);
	}

}
